@import '../../style/mixin.less';

// .section-title {
//   font-size: 14px;
//   line-height: 16px;
//   color: @color-comment-1;
//   margin-bottom: 12px;
// }

.approval {
  height: 100vh;
  display: flex;
  flex-direction: column;

  .token-balance-change {
    padding: 0 16px;
    margin-top: 16px;

    .token-balance-change-content {
      &-header {
        font-weight: 500;
        font-size: 16px;
        line-height: 19px;
        color: #131419;
        display: flex;
        align-items: center;
        margin-bottom: 15px;
      }

      .token-change-list {
        margin: 0;
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 16px;

        .token-change-item {
          display: flex;
          align-items: center;
          overflow: hidden;

          .token-change-logo {
            width: 28px;
            height: 28px;
            margin-right: 12px;
          }

          .token-change-amount {
            font-weight: 500;
            font-size: 15px;
            line-height: 18px;
            color: @color-title;
            .ellipsis();
            margin-right: 12px;
            flex: 1;
          }

          .token-change-price {
            font-size: 12px;
            line-height: 14px;
            color: @color-comment-1;
            margin-left: auto;
            flex-shrink: 0;
            .ellipsis();
            max-width: 50%;
          }
        }
      }
    }

    .balance-change-error {
      display: flex;
      align-items: flex-start;
      gap: 12px;

      &-icon {
        width: 20px;
        height: 20px;
        flex-shrink: 0;

        path:first-child {
          fill: #b4bdcc;
          stroke: #b4bdcc;
        }
      }

      &-content {
        display: flex;
        flex-direction: column;
        gap: 4px;
      }

      &-title {
        font-size: 15px;
        line-height: 18px;
        color: #13141a;
      }

      &-desc {
        font-size: 14px;
        line-height: 20px;
        color: #4b4d59;
      }
    }
  }

  header {
    background: @primary-linear;
    height: 56px;
    padding: 13px 20px;
    color: #fff;
    p {
      margin-bottom: 0;
      &:nth-child(1) {
        opacity: 0.4;
      }
    }
  }

  .approval-public-key {
    .content {
      padding: 20px 20px 28px;
    }
    .site {
      background: var(--r-neutral-card-1, rgba(255, 255, 255, 0.06));
      border-radius: 6px;
      padding: 10px 16px;
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 20px;
      &-icon {
        border-radius: 4px;
      }
      &-origin {
        font-weight: 500;
        font-size: 15px;
        line-height: 18px;
        color: var(--r-neutral-title-1, #f7fafc);
        .ellipsis();
      }
    }
    .desc {
      font-weight: 500;
      font-size: 15px;
      line-height: 20px;
      text-align: center;
      color: var(--r-neutral-title-1, #f7fafc);
    }
    .footer {
      .ant-btn {
        width: 172px;
      }
    }
  }

  .approval-decrypt {
    .content {
      padding: 20px 20px 28px;
    }

    .desc {
      font-weight: 400;
      font-size: 14px;
      line-height: 20px;
      color: var(--r-neutral-body, #d3d8e0);
      margin-bottom: 20px;
    }
    .data {
      background: var(--r-neutral-card-1, rgba(255, 255, 255, 0.06));
      border: 1px solid var(--r-neutral-line, rgba(255, 255, 255, 0.1));
      border-radius: 6px;
      overflow: auto;
      height: 350px;
      word-break: break-all;
      position: relative;
      padding-bottom: 40px;
      .data-content {
        height: 100%;
        overflow: auto;
        padding: 16px;
        color: var(--r-neutral-title-1, #f7fafc);
      }
      &-mask {
        background: rgba(0, 0, 0, 0.9);
        opacity: 0.9;
        backdrop-filter: blur(120px);
        border-radius: 6px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        font-weight: 400;
        font-size: 14px;
        line-height: 18px;
        text-align: center;
        color: #ffffff;

        position: absolute;
        left: 0;
        bottom: 0;
        right: 0;
        top: 0;
        z-index: 10;
        cursor: pointer;
      }
      .icon-copy {
        position: absolute;
        right: 12px;
        bottom: 12px;
        cursor: pointer;
      }
    }
    .footer {
      .ant-btn {
        width: 172px;
      }
    }
  }

  .approval-decrypt,
  .approval-public-key {
    .account-card {
      .send-text {
        color: var(--r-neutral-body, #d3d8e0) !important;
      }
      .amount {
        color: var(--r-neutral-body, #d3d8e0) !important;
      }
    }
  }

  .site-card {
    width: 100%;
    background-color: @color-bg;
    border-radius: 6px;
    padding: 12px;
    display: flex;
    margin-bottom: 24px;
    .icon-site {
      width: 32px;
      margin-right: 8px;
    }
    .site-info {
      flex: 1;
      overflow: hidden;
      p {
        text-overflow: ellipsis;
        width: 100%;
        overflow: hidden;
        white-space: nowrap;
      }
    }
  }

  .ledger-webhid-alert {
    background: rgba(242, 156, 27, 0.08);
    border: 1px solid rgba(242, 156, 27, 0.2);
    border-radius: 4px;
    font-size: 13px;
    line-height: 20px;
    color: #ffb020;
    padding: 12px;
    margin-bottom: 20px;
    p {
      margin-bottom: 0;
      a {
        color: #ffb020;
      }
    }
  }

  .approval-chain {
    padding: 16px 20px 0;
    .rpc-input {
      height: 52px;
      width: 360px;
      margin-left: auto;
      margin-right: auto;
      background: #f5f6fa;
      border: 1px solid #e5e9ef;
      border-radius: 6px;
      &.has-error {
        border-color: #ec5151;
      }
      &::placeholder {
        color: var(--r-neutral-foot, #6a7587);
      }
    }
  }
  .approval-text {
    padding: 24px 20px;
    flex: 1;
    overflow: auto;
    // background-color: var(--r-neutral-bg-1, #fff);
    background: var(--r-neutral-bg-4, #f2f4f7);

    .view-raw {
      line-height: 16px !important;
      color: var(--r-neutral-foot, #6a7587);
      white-space: nowrap;
    }
    .text-detail-wrapper {
      padding-bottom: 40px;
      margin: 0 auto;
      position: relative;
      display: flex;
      border: 1px solid @color-border;
      background-color: #fff;
      border-radius: 6px;
      .tx-action {
        padding-bottom: 16px;
        border-bottom: 1px solid #e5e9ef;
      }
      .section-card {
        background: #fff;
        border-radius: 6px;
        position: relative;

        &-content {
          flex: 1;
          overflow: hidden;
        }

        &-title {
          font-weight: 500;
          font-size: 15px;
          line-height: 18px;
          color: @color-title;
          margin-bottom: 2px;
          .ellipsis();
        }
        &-desc {
          font-weight: 400;
          font-size: 14px;
          line-height: 16px;
          color: @color-body;
        }
      }
    }
    .text-detail {
      padding: 16px;
      white-space: pre-wrap;
      overflow-wrap: break-word;
      line-height: 20px;
      font-size: 14px;
      // min-height: 356px;
      height: 320px;
      overflow: auto;
      flex: 1;
      color: @color-body;
    }
    .text-explain {
      height: 40px;
      left: 20px;
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      display: flex;
      align-items: center;
      color: @light-purple;
      font-size: 13px;
      font-weight: 500;
      margin-bottom: 0;
      // border-top: 1px solid @color-border;
      padding: 0 16px;
      gap: 4px;
      color: @color-comment-1;
      background-color: @color-border;
      .icon-question-mark {
        margin-left: auto;
        width: 16px;
        height: 16px;
        flex-shrink: 0;
        path:first-child {
          fill: @color-comment-2;
        }
      }

      &.pass {
        color: var(--r-blue-default, #7084ff);
        background-color: fade(#7084ff, 10%);
        .icon-question-mark {
          path:first-child {
            fill: fade(#7084ff, 60%);
          }
        }
      }
      &.danger {
        color: @color-red;
        background-color: fade(@color-red, 10%);
        .icon-question-mark {
          path:first-child {
            fill: fade(@color-red, 60%);
          }
        }
      }
    }
    .section-title {
      margin-bottom: 8px;
      font-size: 14px;
      line-height: 16px;
      color: @color-body;
    }
  }

  .approval-tx,
  .approval-text {
    .send,
    .approve,
    .approve-nft,
    .approve-nft-collection,
    .cancel,
    .cancel-nft-collection,
    .cancel-nft,
    .send-nft,
    .type-list-nft,
    .cancel-tx {
      .common-detail-block {
        min-height: 120px;
        padding: 22px 16px;

        .title {
          color: @color-body;
          font-size: 20px;
          font-weight: 500;
          margin-bottom: 24px;
          position: relative;
          z-index: 1;
          line-height: 23px;
        }

        p {
          word-break: break-all;
          white-space: pre-wrap;
        }

        .block-field {
          display: flex;
          margin-bottom: 16px;

          .label {
            // color: @color-comment-1;
            color: @color-body;
            font-size: 14px;
            width: 90px;
            flex-shrink: 0;
            line-height: 1;
          }

          .value {
            line-height: 1;
            flex: 1;
            color: @color-body;
            font-size: 15px;
            line-height: 18px;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;

            &-strong {
              font-weight: 500;
              color: @color-title;
            }
          }

          &.contract {
            .value {
              display: flex;
              align-items: center;

              .address-viewer-text {
                color: @color-comment-1;
                font-size: 13px;
                font-weight: 500;
                margin-right: 0;
              }

              .icon-copy {
                width: 16px;
                height: 16px;
                margin-left: 6px;
                cursor: pointer;
              }
            }
          }

          &:nth-last-child(1) {
            margin-bottom: 0;
          }
        }
      }

      .protocol {
        display: flex;
        align-items: center;

        .protocol-logo {
          width: 36px;
          height: 36px;
          margin-right: 8px;
          flex-shrink: 0;
        }

        .protocol-info {
          .protocol-info__name {
            color: @color-body;
            font-size: 14px;
            font-weight: bold;
            margin-bottom: 4px;
            line-height: 1;
          }

          .protocol-info__spender {
            display: flex;
            align-items: center;

            .icon-copy {
              margin-left: 6px;
              width: 16px;
              height: 16px;
              cursor: pointer;
            }

            .address-viewer-text {
              color: @color-comment-1;
              font-size: 13px;
              font-weight: 500;
              margin-right: 0;
            }
          }
        }
      }
    }

    overflow-y: auto;
    .action-card {
      border-radius: 6px;
      background-color: #fff;

      &-body {
        padding: 16px;

        & + & {
          border-top: 1px solid #e5e9ef;
        }
      }
    }

    .approve {
      .protocol {
        .protocol-logo {
          width: 24px;
          height: 24px;
          margin-right: 8px;
          flex-shrink: 0;
        }

        .protocol-info {
          display: flex;
          align-items: center;

          .protocol-info__name {
            font-size: 13px;
            line-height: 1;
            margin-bottom: 0;
            align-items: center;

            .protocol-info__spender {
              margin-left: 8px;
            }
          }

          .address-viewer-text {
            line-height: 1;
          }
        }
      }

      .token-info {
        display: flex;
        justify-content: space-between;
        width: 100%;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap !important;
        margin: 0;
        margin-bottom: 4px;
        color: @color-title;
        font-weight: 500;
        font-size: 15px;
        line-height: 18px;

        .ant-btn-link {
          padding: 0;
          line-height: 1;
          height: auto;
          font-weight: 400;
          font-size: 15px;
          line-height: 18px;
          color: var(--r-blue-default, #7084ff);

          &::before {
            display: none;
          }

          span {
            text-decoration: none;
          }

          &:hover {
            background-color: transparent;
          }
        }
      }

      .token-value {
        margin: 0;
        color: @color-comment-1;
        font-size: 12px;
        line-height: 14px;
      }
    }

    .security-check-card {
      background-color: #fff;
      padding: 16px;
      border-radius: 6px;
      margin-top: 8px;

      &-header {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 12px;
      }
      &-btn {
        font-weight: 500;
        font-size: 13px;
        line-height: 15px;
        text-decoration-line: underline;
        color: var(--r-blue-default, #7084ff);
        cursor: pointer;
        margin-left: auto;
        flex-shrink: 0;
      }
      &-icon {
        flex-shrink: 0;
        &.forbidden {
          path:first-child {
            fill: #af160e;
            stroke: #af160e;
          }
        }
        &.danger {
          path:first-child {
            fill: @color-red;
            stroke: @color-red;
          }
        }
        &.warning {
          path:first-child {
            fill: @color-orange;
            stroke: @color-orange;
          }
        }
        &.is-loading {
          animation: rotate 1s linear infinite;
        }
        &.gray {
          path:first-child {
            fill: #b4bdcc;
            stroke: #b4bdcc;
          }
        }
      }

      &-content {
        flex: 1;
      }
      &-title {
        font-size: 15px;
        line-height: 18px;
        color: @color-title;
      }
      &-desc {
        font-size: 14px;
        line-height: 16px;
        color: @color-body;
      }
      &-text-loading {
        font-size: 14px;
        line-height: 20px;
        color: @color-comment-1;
      }

      &-item {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 12px;
        font-size: 14px;
        line-height: 20px;
        color: @color-body;

        .number {
          color: @color-comment-1;
        }

        &-icon-wraper {
          width: 20px;
          height: 20px;
          display: flex;
          align-items: center;
          justify-content: center;
          flex-shrink: 0;
        }

        &-icon {
          width: 8px;
          height: 8px;
          border-radius: 50%;
          &.is-forbidden {
            background-color: #af160e;
          }
          &.is-danger {
            background-color: @color-red;
          }
          &.is-warning {
            background-color: @color-orange;
          }
        }
      }
      &-footer {
        margin-top: 24px;
        font-size: 12px;
        line-height: 14px;
        color: @color-comment-2;
        text-align: center;
        opacity: 0.7;
      }
    }
  }

  .approval-tx {
    padding: 15px 18px 25px;
    display: flex;
    flex-direction: column;
    background: var(--r-neutral-bg-4, #3d4251);
    flex: 1;
    margin-bottom: -10px;
    row-gap: 12px;

    .chromelike-scrollbar();

    // .ant-skeleton.ant-skeleton-active {
    //   .ant-skeleton-avatar,
    //   .ant-skeleton-input {
    //     background: linear-gradient(
    //       90deg,
    //       #f5f6fa 25%,
    //       rgba(190, 190, 190, 0.24) 37%,
    //       #f5f6fa 63%
    //     );
    //     background-size: 400% 100%;
    //   }
    // }
    .action-buttons {
      gap: 16px;
    }
    .section-title {
      margin-bottom: 8px;
      font-size: 14px;
      line-height: 16px;
      color: @color-title;
    }
    .view-raw {
      line-height: 16px !important;
      color: var(--r-neutral-foot, #6a7587);
      white-space: nowrap;
    }

    .section-block {
      .section-title {
        font-weight: 400;
        font-size: 14px;
        line-height: 16px;
        color: @color-title;
      }
    }
    .tx-action {
      padding-bottom: 16px;
      border-bottom: 1px solid #e5e9ef;
    }

    .section-card {
      background: #fff;
      border-radius: 6px;
      position: relative;

      &-content {
        flex: 1;
        overflow: hidden;
      }

      &-title {
        font-weight: 500;
        font-size: 15px;
        line-height: 18px;
        color: @color-title;
        margin-bottom: 2px;
        .ellipsis();
      }
      &-desc {
        font-weight: 400;
        font-size: 14px;
        line-height: 16px;
        color: @color-body;
      }
    }
    .send,
    .approve,
    .approve-nft,
    .approve-nft-collection,
    .cancel,
    .cancel-nft-collection,
    .cancel-nft,
    .send-nft,
    .cancel-tx,
    .sign {
      & + .section-gas-cost {
        margin-top: 20px;
      }
      &.below-bc-block-empty + .section-gas-cost {
        margin-top: 32px;
      }
    }
    .send {
      .est-price {
        margin: 4px 0 0 0;
        color: @color-comment-1;
        font-size: 12px;
      }
    }
    .cancel-tx {
      .common-detail-block {
        position: relative;
        .icon-cancel-tx {
          position: absolute;
          width: 60px;
          height: 60px;
          right: 16px;
          top: 24px;
          pointer-events: none;
        }
      }
    }

    .approve-nft,
    .approve-nft-collection,
    .cancel-nft-collection,
    .send-nft,
    .cancel-nft {
      .nft-collection {
        padding: 16px 12px;
        background: var(--r-blue-light-1, #eef1ff);
        border: 1px solid var(--r-blue-default, #7084ff);
        box-sizing: border-box;
        border-radius: 6px;
        margin-bottom: 12px;
        .rabby-list .item .value {
          .ellipsis();
        }
      }
      .nft-card {
        padding: 13px 15px;
        background: var(--r-blue-light-1, #eef1ff);
        border: 1px solid var(--r-blue-default, #7084ff);
        box-sizing: border-box;
        border-radius: 4px;
        display: flex;
        gap: 12px;
        margin-bottom: 20px;
        align-items: center;

        .nft-avatar {
          border: none;
          width: 60px;
          height: 60px;
          flex-shrink: 0;
        }
        &-content {
          overflow: hidden;
        }
        &-title {
          font-weight: 500;
          font-size: 15px;
          line-height: 18px;
          color: #13141a;
          margin-bottom: 8px;
          .ellipsis();
        }
        .rabby-list {
          .item {
            &:not(:last-child) {
              margin-bottom: 8px;
            }
            .label {
              font-weight: 400;
              font-size: 12px;
              line-height: 14px;
              color: #707280;
              min-width: 60px;
            }
            .value {
              font-weight: 500;
              font-size: 12px;
              line-height: 14px;
              color: #4b4d59;
              .ellipsis();
            }
          }
        }
      }
      .rabby-list {
        .item {
          display: flex;
          align-items: center;

          &:not(:last-child) {
            margin-bottom: 12px;
          }
          .label {
            font-weight: 400;
            font-size: 14px;
            line-height: 16px;
            color: @color-comment-1;
            min-width: 90px;
            margin-right: 5px;
          }
          .value {
            font-weight: 500;
            font-size: 15px;
            line-height: 18px;
            color: @color-title;
            .logo {
              width: 24px;
              height: 24px;
              object-fit: cover;
              border-radius: 50%;
            }
            .name {
              font-weight: 500;
              font-size: 13px;
              line-height: 15px;
              color: @color-body;
              .ellipsis();
              max-width: 70px;
            }
            .address {
              font-weight: 500;
              font-size: 13px;
              line-height: 15px;
              color: #707280;
              flex-shrink: 0;
            }
          }
        }
      }
    }
    .sign {
      .common-detail-block {
        // padding: 21px 16px;
        // margin-bottom: 20px;
        position: relative;
        // border-bottom: 1px solid @color-border;

        .contract-logo,
        .contract-logo-unknown {
          position: absolute;
          right: 16px;
          top: 16px;
          width: 60px;
          height: 60px;
          opacity: 0.2;
        }
        .contract-logo-unknown {
          opacity: 0.3;
          circle {
            fill: #dbe2f2;
          }
          path {
            fill: #8b93a7;
          }
        }

        .gnosis-explain {
          flex: 1;
          // background: #eaecfb;
          background: var(--r-blue-light-1, #eef1ff);
          border: 1px solid var(--r-blue-default, #7084ff);
          border-radius: 6px;
          padding: 12px;
          // margin-top: 14px;
          position: relative;
          .internal-transaction {
            position: absolute;
            width: 120px;
            text-align: center;
            z-index: 1;
            color: var(--r-blue-default, #7084ff);
            font-size: 12px;
            line-height: 12px;
            top: -7px;
            left: 12px;
            .bg {
              position: absolute;
              bottom: 0;
              left: 0.5px;
              width: 100%;
              height: 6px;
              background: var(--r-blue-light-1, #424962);
              z-index: -1;
            }
          }
          .gnosis-address {
            display: flex;
            padding-bottom: 13px;
            border-bottom: 0.5px solid @color-comment-2;
            margin-bottom: 14px;
            .address-viewer-text.normal {
              font-size: 12px;
              line-height: 18px;
              color: @color-comment-1;
              font-weight: normal;
            }
            .icon-gnosis {
              width: 18px;
              height: 18px;
              margin-right: 8px;
            }
            .alian-name {
              color: #4b4d59;
              font-weight: 500;
              font-size: 13px;
              line-height: 18px;
            }
          }
          .view-raw {
            display: none !important;
          }
          .approve {
            .edit-btn {
              display: none;
            }
            .token-info {
              font-size: 13px;
            }
            .protocol {
              .protocol-info__name {
                font-size: 12px;
                .address-viewer-text.normal {
                  font-size: 12px;
                }
              }
            }
          }
        }
      }
      .loading-balance-change {
        border-top: 1px solid @color-border;
      }
    }

    @keyframes rotate {
      0% {
        transform: rotate(0deg);
      }
      100% {
        transform: rotate(360deg);
      }
    }

    .pre-check-card {
      background-color: #fff;
      padding: 16px;
      border-radius: 6px;

      &-header {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 12px;
      }

      &-icon {
        flex-shrink: 0;
        &.forbidden {
          path:first-child {
            fill: #af160e;
            stroke: #af160e;
          }
        }
        &.danger {
          path:first-child {
            fill: @color-red;
            stroke: @color-red;
          }
        }
        &.warning {
          path:first-child {
            fill: @color-orange;
            stroke: @color-orange;
          }
        }
        &.is-loading {
          animation: rotate 1s linear infinite;
        }
        &.gray {
          path:first-child {
            fill: #b4bdcc;
            stroke: #b4bdcc;
          }
        }
      }

      &-content {
        flex: 1;
      }
      &-title {
        font-size: 15px;
        line-height: 18px;
        color: @color-title;
        margin-bottom: 2px;
      }
      &-desc {
        font-size: 14px;
        line-height: 16px;
        color: @color-body;
      }
      &-text-loading {
        font-size: 14px;
        line-height: 20px;
        color: @color-comment-1;
      }
      &-item {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 12px;
        font-size: 14px;
        line-height: 20px;
        color: @color-body;

        &:last-child {
          margin-bottom: 0;
        }

        .number {
          color: @color-comment-1;
        }

        &-icon-wraper {
          width: 20px;
          height: 20px;
          display: flex;
          align-items: center;
          justify-content: center;
          flex-shrink: 0;
        }

        &-icon {
          width: 8px;
          height: 8px;
          border-radius: 50%;
          &.forbidden {
            background-color: #af160e;
          }
          &.danger {
            background-color: @color-red;
          }
          &.warn {
            background-color: @color-orange;
          }
        }
      }
    }

    .common-detail-block {
      position: relative;
      .speedup-corner {
        position: absolute;
        right: 0;
        top: 0;
      }
    }
  }
  .watch-operation {
    padding-top: 128px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hardware-operation {
    padding-top: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    .icon-hardware {
      border-radius: 50%;
      border: 0.5px solid @color-border;
      width: 128px;
      height: 128px;
    }
    .brand-name {
      text-align: center;
      margin: 24px 0 40px 0;
      color: @color-title;
    }
  }

  footer {
    position: fixed;
    bottom: 0;
    left: 0;
    background: var(--r-neutral-bg-1, #3d4251);
    border-top: 0.5px solid transparent;

    width: 100%;
    z-index: 10;
    &.add-rpc-footer {
      height: 76px;
      padding: 16px 20px;
    }
  }

  .approval-text__footer {
    position: relative;
  }
  .process-tooltip {
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: @color-body;
    padding-bottom: 16px;
    margin-top: -4px;
  }

  .force-process {
    margin-bottom: 20px;
    .rabby-checkbox__label {
      color: @color-comment-1;
      font-size: 14px;
    }
  }

  .security-check-bar {
    display: flex;
    padding-bottom: 20px;
    font-weight: 500;
    font-size: 13px;
    line-height: 15px;
    width: 100%;
    overflow: hidden;
    align-items: center;
    .icon-status {
      width: 16px;
      height: 16px;
      margin-right: 8px;
      flex-shrink: 0;
    }
    .alert {
      flex: 1;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .icon-arrow-right {
      width: 16px;
      height: 16px;
      transform: rotate(-90deg);
    }
    .ant-btn {
      border: 1px solid var(--r-blue-default, #7084ff);
      border-radius: 12px;
      background-color: #fff;
      color: var(--r-blue-default, #7084ff);
      padding: 4px 12px;
      font-size: 12px;
      line-height: 14px;
      height: 24px;
    }
  }
}

.gas-selector {
  margin-top: 12px;
  background: var(--r-neutral-card-1, rgba(255, 255, 255, 0.06));
  border-radius: 6px;
  display: flex;
  padding: 16px;
  flex-direction: column;

  &-card {
    display: flex;
    align-items: center;

    &-content {
      margin-right: 6px;
      margin-left: 6px;
      color: var(--r-neutral-title1, #192945);
      font-size: 16px;
      line-height: 18px;
      &-item {
        display: flex;
        gap: 6px;
        align-items: center;
      }
    }

    &-error {
      font-size: 15px;
      line-height: 18px;
      color: var(--r-orange-default, #ffb020);

      &-desc {
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;
        color: @color-body;

        .number {
          color: @color-comment-1;
        }
      }
    }

    &-title {
      font-weight: 500;
      font-size: 16px;
      line-height: 19px;
      color: var(--r-neutral-title-1, #192945);
    }
    &-gas {
      font-weight: 500;
      font-size: 15px;
      line-height: 18px;
      color: @color-title;
    }
    &-tag {
      background: var(--r-blue-light-1, #eef1ff);
      border-radius: 2px;
      font-weight: 500;
      font-size: 13px;
      line-height: 15px;
      color: var(--r-blue-default, #7084ff);
      padding: 1px 6px;
      text-transform: capitalize;
    }
    &-amount {
      color: var(--r-blue-default, #7084ff);
    }
    &-usd {
      font-size: 12px;
      line-height: 14px;
      color: var(--r-neutral-body, #d3d8e0);
    }
    &-extra {
      a {
        font-size: 15px;
        line-height: 18px;
        color: var(--r-blue-default, #7084ff);
        padding: 8px;
        margin-right: -8px;
      }
    }
  }
  .left {
    margin-right: 8px;
    .icon-gas {
      width: 16px;
      height: 16px;
    }
  }
  .gas-info {
    flex: 1;
    line-height: 1;
    p {
      margin-bottom: 4px;
      &:nth-last-child(1) {
        margin-bottom: 0;
      }
    }
  }
}

.gas-modal {
  .ant-drawer-content-wrapper {
    // max-height: calc(100vh - 80px);
    max-height: calc(100vh - 60px);
  }
  &.is-popup {
    .ant-drawer-content-wrapper {
      max-height: 100vh;
    }
  }
  .ant-modal-body {
    max-height: 540px;
  }
  .ant-drawer-body {
    padding-bottom: 100px;
  }
  .gas-selector-modal {
    &-top {
      padding-top: 12px;
      padding-bottom: 24px;
    }
    &-error {
      font-weight: 500;
      font-size: 20px;
      line-height: 24px;
      text-align: center;
      color: #ffb020;

      &-desc {
        font-weight: 400;
        font-size: 15px;
        line-height: 18px;
        text-align: center;
        color: var(--r-neutral-body, #d3d8e0);
      }
    }
    &-amount {
      font-weight: 700;
      font-size: 24px;
      line-height: 28px;
      text-align: center;
      color: var(--r-neutral-title-1, #f7fafc);
      margin-bottom: 6px;
    }
    &-usd {
      font-size: 15px;
      line-height: 18px;
      color: var(--r-neutral-body, #d3d8e0);
      text-align: center;
      display: flex;
      align-items: center;
      gap: 6px;
      justify-content: center;
    }
  }
  .card-container {
    margin-bottom: 20px;
    &-title {
      font-size: 13px;
      line-height: 16px;
      color: var(--r-neutral-title1, #192945);
      margin-bottom: 8px;
      &.disabled {
        opacity: 0.5;
      }
    }
  }

  .addvance-setting-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 68px;
    cursor: pointer;
    font-size: 12px;
    line-height: 14px;
    color: @color-comment-1;
  }

  .gas-selector-panel {
    .field-slot {
      margin-left: 0;
    }
    .gas-content {
      display: flex;
      align-items: center;
      width: 100%;
      .gas-content__info {
        flex: 1;
      }
      .gas-content__price {
        width: 75px;
        text-align: right;
        font-size: 15px;
        color: @color-title;
        font-weight: 500;
        padding-right: 16px;
        line-height: 16px;
      }
    }
    .input-wrapper {
      .ant-input {
        padding-right: 0;
        text-align: right;
        max-width: 81px;
        border-radius: 0;
        outline: none;
        height: 24px;
        transition: none;
        // border: none;
        font-size: 15px;
        font-weight: 500;
        color: @color-title;
        padding-left: 0;
        position: relative;
        // border-bottom: 0.5px solid @color-border;
        width: 100%;
        .ant-input-number-handler-wrap {
          display: none;
        }
        .ant-input {
          padding-right: 0;
          text-align: right;
          height: auto;
        }
        &::placeholder {
          font-weight: normal;
          color: @color-comment-2;
        }
      }
      // .ant-input:focus,
      // .ant-input-focused,
      // .ant-input:hover,
      // .ant-input:focus-visible {
      //   border: none;
      //   border-bottom: 0.5px solid @color-border;
      // }
    }
    &.invalid {
      .field.border-blue-light {
        border-color: #f24822 !important;
      }
    }
  }
  .priority-slider {
    &-header {
      display: flex;
      align-items: center;
      font-size: 13px;
      line-height: 16px;
      color: var(--r-neutral-title1, #192945);
      margin-bottom: 8px;

      span {
        color: var(--r-blue-default, #7084ff);
        font-weight: 500;
        margin-left: 2px;
      }
    }

    &-body {
      margin-top: 8px;
    }

    &-input {
      appearance: none;
      border-radius: 8px;
      border: 1px solid var(--r-neutral-line, #d3d8e0);
      background: var(--r-neutral-card1, #fff);
      padding: 16px;
      color: var(--r-neutral-title1, #192945);
      font-size: 15px;
      font-weight: 500;
      width: 100%;

      &::-webkit-outer-spin-button,
      &::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
      }

      &:focus {
        outline: none;
        border-color: var(--r-blue-default, #7084ff);
      }
    }

    &-footer {
      font-size: 12px;
      line-height: 14px;
      color: @color-comment-1;
    }
    &__mark {
      display: flex;
      justify-content: space-between;
      font-size: 12px;
      line-height: 14px;
      color: var(--r-neutral-foot, #babec5);
      margin-bottom: 0;
      margin-top: 2px;
    }
  }
  .hardware-1559-tip {
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    color: #707280;
    margin-bottom: 12px;
  }
  .gas-limit {
    .icon-arrow-down {
      transform: rotate(0);
      transition: transform 0.3s;
      &.expanded {
        transform: rotate(180deg);
      }
    }
    &-label {
      margin-bottom: 0;
      color: var(--r-neutral-title1, #192945);
      font-size: 13px;
      &.disabled {
        opacity: 0.5;
      }
    }
    &-title {
      color: var(--r-neutral-title1, #192945);
      font-size: 13px;
    }
    .gas-limit-panel-wrapper {
      max-height: 0;
      transition: max-height 0.3s;
      overflow: hidden;
      &.expanded {
        max-height: 320px;
      }
    }
    .gas-limit-panel {
      margin-top: 8px;
      overflow: hidden;
      .ant-input {
        width: 100%;
        padding: 15px;
        outline: none;
        transition: none;
        font-size: 15px;
        font-weight: 500;
        color: var(--r-neutral-title-1, #f7fafc);
        background-color: var(--r-neutral-card1, #fff) !important;
        border-color: var(--r-neutral-line, #d3d8e0);
        position: relative;
        border-width: 1px;
        border-style: solid;
        border-radius: 8px;
        transition: border-color 0.3s;
        &:focus {
          border-color: var(--r-blue-default, #7084ff);
        }
        .ant-input-number-handler-wrap {
          display: none;
        }
      }
      &.ant-form-item-has-error .ant-input {
        border-color: #f24822 !important;
      }
      &.disabled {
        opacity: 0.5;
      }
    }
    .tip {
      color: var(--r-neutral-foot, #babec5);
      font-size: 13px;
      margin-top: 8px;
      margin-bottom: 0;
      .recommend-times {
        text-decoration: underline;
        cursor: pointer;
      }
      &.disabled {
        opacity: 0.5;
        cursor: not-allowed;
        .recommend-times {
          cursor: not-allowed;
        }
      }
    }
  }
}

.security-check-drawer,
.signature-qr-checker-drawer {
  .ant-drawer-header {
    border: none;
    padding: 20px 20px 8px;

    .ant-drawer-title {
      font-size: 20px;
      font-weight: 500;
      text-align: center;
    }
    .icon-drawer-close {
      transform: rotate(90deg);
    }
  }
  .ant-drawer-content {
    flex: 1;
    background-color: #fff;
    background: #ffffff;
    border-radius: 16px 16px 0px 0px;
  }
}

.security-check-detail,
.signature-qr-checker-detail {
  display: flex;
  flex-direction: column;
  height: 100%;
  .container {
    flex: 1;
    overflow: auto;
    .symbol {
      display: inline-block;
      padding: 4px 8px;
      border-radius: 10px;
      color: #fff;
      font-size: 12px;
      line-height: 12px;
      height: 20px;
    }
    .forbidden {
      .symbol {
        background-color: #af160e;
      }
    }
    .danger {
      .symbol {
        background-color: #f24822;
      }
    }
    .warning {
      .symbol {
        background-color: #f29c1b;
      }
    }
    ul {
      flex: 1;
      margin-left: 8px;
      margin-bottom: 20px;
      border-bottom: 0.5px solid @color-border;
      li {
        color: @color-body;
        font-size: 14px;
        margin-bottom: 16px;
        .number {
          font-size: 12px;
          color: @color-comment-2;
        }
      }
    }
  }
  .footer {
    position: relative;
    color: @color-comment-1;
    font-size: 14px;
    padding-top: 4px;
    &::before {
      content: '';
      height: 0.5px;
      background-color: @color-border;
      width: 100vw;
      position: absolute;
      left: -24px;
      top: 0;
    }
    .input-password {
      margin-top: 12px;
      margin-bottom: 20px;
      p {
        margin-bottom: 8px;
      }
      .ant-input {
        background-color: @color-bg;
        height: 44px;
      }
    }
    .buttons {
      margin-top: 20px;
      display: flex;
      justify-content: space-between;
      .ant-btn {
        width: 172px;
      }
    }
  }
}

.account-card {
  background: @primary-linear;
  width: 100%;
  height: 80px;
  padding: 16px 20px;
  .title {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    margin-bottom: 6px;
  }
  .account-detail {
    background-color: var(--r-blue-light-1, #eef1ff);
    width: 360px;
    height: 48px;
    margin: 0 auto;
    display: flex;
    padding: 8px 16px 9px;
    align-items: center;
    font-size: 13px;
    border-radius: 6px;
    .icon-account {
      width: 20px;
      height: 20px;
      margin-right: 8px;
    }
    .send-text {
      font-size: 13px;
      color: var(--r-blue-default, #7084ff);
      max-width: 180px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      font-weight: 500;
    }
    .send-viewer {
      color: var(--r-blue-default, #7084ff);
      font-weight: normal !important;
    }
    .amount {
      flex: 1;
      text-align: right;
      color: #ffffff;
      font-size: 13px;
      font-weight: 500;
    }
  }
}

.text-explain-tooltip {
  max-width: 340px;
  left: 50% !important;
  margin-left: -170px;
  .ant-tooltip-inner {
    display: flex;
    align-items: center;
    text-align: center;
    font-size: 12px;
    border-radius: 2px;
    width: 100%;
    white-space: nowrap;
    background-color: fade(@color-title, 80%);
  }
  .ant-tooltip-arrow {
    display: none;
  }
}

.view-raw-detail {
  .ant-tabs-nav {
    margin-bottom: 16px;
  }

  .ant-tabs-nav::before {
    display: none;
  }

  .ant-tabs-nav-list {
    background: var(--r-neutral-line, #d3d8e0);
    border-radius: 6px;
    padding: 2px;
  }

  .ant-tabs-ink-bar {
    display: none;
  }

  .ant-tabs-tab {
    width: 72px;
    height: 24px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 4px;
    color: var(--r-neutral-body, #3e495e);
    font-size: 13px;
    transition: all 0.3s ease-in-out;
    margin: 0;

    &.ant-tabs-tab-active {
      background: var(--r-neutral-bg1, #fff);

      .ant-tabs-tab-btn {
        color: var(--r-blue-default, #7084ff);
      }
    }
  }
  .ant-tabs-tabpane {
    // font-family: 'Roboto Mono', monospace;
    color: var(--r-neutral-title-1, #192945);
    padding: 12px;
    height: 436px;
    overflow: auto;
    word-break: break-all;
    white-space: pre-wrap;
    border-radius: 8px;
    background: var(--r-neutral-card1, #fff);
  }
}

.transaction-detail {
  .ant-modal-confirm-content {
    // font-family: 'Roboto Mono', monospace;
  }
}

.edit-approve-amount-modal {
  .ant-form-item {
    margin-bottom: 0;

    &:focus-within {
      border-color: var(--r-blue-default);
    }
  }
  .approve-amount-footer {
    display: flex;
    margin-top: 16px;
    justify-content: center;
  }
  .est-approve-price {
    color: var(--r-neutral-foot);
    font-size: 13px;
    line-height: 16px;
    margin-right: auto;
  }
  .token-approve-balance {
    font-size: 15px;
    line-height: 18px;
    text-align: right;
    text-decoration-line: underline;
    color: var(--r-neutral-body);
    cursor: pointer;
  }
  .ant-input-group {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .ant-input-group-wrapper {
    position: relative;
    .ant-input {
      color: var(--r-neutral-title-1);
      background: transparent !important;
      font-size: 15px;
      padding: 0;
      width: auto;
      border-radius: 0;
      line-height: 18px;
      flex: 1;
    }
    .ant-input-group-addon {
      background: transparent;
      border: none;
      font-size: 15px;
      color: var(--r-neutral-foot);
      padding-right: 0;
      line-height: 18px;
      width: auto;
      padding: 0;
      text-align: right;
    }
    &::after {
      display: none;
      content: '';
      position: absolute;
      background: linear-gradient(
        270deg,
        #ffffff 11.22%,
        rgba(255, 255, 255, 0.2) 100%
      );
      width: 76px;
      height: 31px;
      left: 188px;
      top: 0;
      z-index: 999;
      pointer-events: none;
    }
  }
}
.ledger-waiting {
  &__nav {
    width: 100%;
    margin-bottom: 60px;
  }
  &__header {
    h1 {
      font-weight: bold;
      font-size: 24px;
      line-height: 28px;
      text-align: center;
      margin-bottom: 8px;
    }
    p {
      font-size: 14px;
      line-height: 16px;
      text-align: center;
      color: #4b4d59;
      margin-bottom: 46px;
    }
  }
  &__container {
    padding: 0 28px;
  }
  &__tip {
    font-size: 13px;
    line-height: 28px;
    color: #13141a;
    margin-top: 24px;
    p {
      margin-bottom: 0;
    }
    &-resend {
      margin-top: 90px;
    }
  }
  &__result {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 73px;
    .icon-chain {
      width: 20px;
      margin-right: 8px;
    }
    .tx-hash {
      color: @color-body;
      font-weight: 500;
      font-size: 15px;
      line-height: 18px;
      text-decoration: underline;
    }
    .icon-external {
      display: inline-block;
      margin-left: 8px;
      path {
        fill: @color-comment-1;
      }
    }
  }
  &__footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    .ant-btn-link {
      color: @color-comment-1;
      margin-top: 12px;
      &:hover {
        color: @color-comment-1;
        background-color: transparent;
      }
      &::before {
        display: none;
      }
      span {
        text-decoration: underline;
      }
    }
  }
}
.watchaddress {
  height: 100%;
  display: flex;
  flex-direction: column;
  &-header {
    background: linear-gradient(97.59deg, #8ba8ff 0%, #8c96ff 99.49%);
    width: 100%;
    height: 80px;
    color: #fff;
    position: relative;
    .icon-header {
      padding-top: 26px;
    }
    .mask {
      position: absolute;
      user-select: none;
      z-index: 0;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
    }
    .watchaddress-type-list {
      display: flex;
      position: relative;
      li {
        margin-right: 24px;
        opacity: 0.4;
        cursor: pointer;
        user-select: none;
        .brand-logo {
          width: 32px;
          height: 32px;
          border-radius: 2px;
        }
        &:nth-last-child(1) {
          margin-right: 0;
        }
        &.active {
          opacity: 1;
          cursor: default;
        }
      }
    }
    .select-corner {
      position: absolute;
      bottom: 0;
      left: 32px;
      transform: translateX(0);
      transition: transform 0.3s;
      &__inner {
        width: 12px;
        height: 12px;
        transform: rotate(45deg);
        transform-origin: bottom left;
        background: #ffffff;
        border-radius: 1px;
      }
    }
  }
  .watchaddress-scan {
    margin-top: -30px;

    .session-status {
      margin-top: 32px !important;
    }

    &__qrcode {
      width: 240px;
      height: 240px;
      border: 1px solid @color-border;
      border-radius: 12px;
      margin: 0 auto;
      padding: 16px;
    }
    &__refresh {
      display: flex;
      margin: 24px 0 44px;
      align-items: center;
      justify-content: center;
      .ant-btn-link {
        padding: 0;
        color: @color-comment-1;
        font-weight: normal;
        span {
          text-decoration: underline;
        }
        &:hover {
          color: @color-comment-1;
          &::before {
            display: none;
          }
        }
      }
      .icon-refresh {
        margin-right: 6px;
        width: 14px;
        height: 14px;
        cursor: pointer;
        path {
          fill: @color-comment-1;
        }
      }
    }
    &__guide {
      font-size: 15px;
      color: @color-body;
      padding: 25px 24px;
      p {
        margin-bottom: 10px;
        &:nth-last-child(1) {
          margin-bottom: 0;
        }
      }
    }
    &__tip {
      color: @color-comment-2;
      text-align: center;
      font-size: 12px;
      line-height: 14px;
      margin-top: 73px;
    }
  }
  .watchaddress-process {
    padding: 48px 0 0;
    &__status {
      width: 304px;
      margin: 0 auto 28px;
    }
    &__title {
      font-weight: bold;
      font-size: 24px;
      line-height: 28px;
      text-align: center;
      margin: 0 0 24px;
    }
    &__buttons {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-top: 60px;
      .ant-btn-link {
        color: @color-comment-1;
        margin-top: 12px;
        &:hover {
          color: @color-comment-1;
          background-color: transparent;
        }
        &::before {
          display: none;
        }
        span {
          text-decoration: underline;
        }
      }
    }
    &__result {
      display: flex;
      justify-content: center;
      margin-top: 56px;
      .icon-chain {
        width: 20px;
        height: 20px;
        margin-right: 8px;
      }
      .tx-hash {
        color: @color-body;
        font-weight: 500;
        font-size: 15px;
        line-height: 18px;
        text-decoration: underline;
      }
      .icon-external {
        display: inline-block;
        margin-left: 8px;
        path {
          fill: @color-comment-1;
        }
      }
    }
    .watchaddress-process__ok {
      margin-top: 56px;
      display: flex;
      justify-content: center;
    }
    .error-alert {
      background: rgba(242, 72, 34, 0.1);
      border: 0.5px solid rgba(242, 72, 34, 0.5);
      border-radius: 4px;
      text-align: center;
      width: 352px;
      margin: 0 auto;
      padding: 10px 16px;
      font-size: 14px;
      line-height: 20px;
      text-align: center;
      color: #f24822;
      p {
        margin-bottom: 0;
        &:not(nth-child(1)) {
          margin-top: 6px;
        }
      }
    }
  }
  .watchaddress-operation {
    flex: 1;
    display: flex;
  }
}

.speedup-corner-tooltip {
  .ant-tooltip-arrow {
    transform: translateX(0);
    left: auto;
    right: 45px;
  }
}
.watcSign__tooltip {
  max-width: 360px !important;
  filter: drop-shadow(0px 8px 24px rgba(19, 20, 26, 0.2));
  .ant-tooltip-content {
    width: 360px !important;
    .ant-tooltip-inner {
      background-color: #fff !important;
      border-radius: 6px;
      font-weight: 400;
      font-size: 12px;
      line-height: 16px;
      color: @color-title;
      padding: 16px;
    }
  }
  .ant-tooltip-arrow {
    border-color: #fff;
    transform: translateX(0);
    right: 40px;
    .ant-tooltip-arrow-content {
      background-color: #fff;
    }
  }
  &-Proceed .ant-tooltip-arrow {
    right: 36px;
  }
  &-Sign .ant-tooltip-arrow {
    right: 50px;
  }
  &-Continue .ant-tooltip-arrow {
    right: 34px;
  }
}

.icon-submit {
  &-Proceed {
    right: 36px !important;
  }
  &-Sign {
    right: 50px !important;
  }
  &-Continue {
    right: 34px !important;
  }
}

.gnosis-drawer {
  .ant-drawer-content-wrapper {
    border-radius: 16px 16px 0px 0px;
    overflow: hidden;
  }
  .ant-drawer-close {
    display: none;
  }
  .gnosis-drawer-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    .title {
      margin-bottom: 24px;
      font-weight: 500;
      font-size: 20px;
      line-height: 23px;
      text-align: center;
      color: var(--r-neutral-title-1);
    }
    .list {
      flex: 1;
      overflow: auto;
      height: 100%;
      .item {
        background-color: var(--r-neutral-card-2) !important;
        border-color: transparent;
        opacity: 1 !important;
        .address-viewer-text.normal {
          color: var(--r-neutral-title-1);
        }
        .icon-tag {
          margin-left: 8px;
          height: 16px;
        }
        &.disabled {
          color: var(--r-neutral-foot);
          border-color: transparent !important;
          .address-viewer-text.normal {
            color: var(--r-neutral-foot);
          }
        }
      }
    }
    .footer {
      padding: 20px 0 0;
      display: flex;
      justify-content: space-between;
      .ant-btn {
        width: 172px;
        font-weight: 500;
        font-size: 15px;
        line-height: 18px;
        height: 44px;
        padding: 13px 0;
        color: #ffffff;
      }
    }
  }
}

.gnosis-footer-bar {
  .ant-drawer-content {
    background: transparent !important;
  }
}
.max-115 {
  max-width: 115px;
}
.max-100 {
  max-width: 100px;
}
.max-90 {
  max-width: 90px;
}
.max-117 {
  max-width: 117px;
}
.no-name {
  color: @color-comment-1 !important ;
}
.sign-tx-forbidden-tooltip {
  max-width: 360px !important;
}

.connect-detect-popup {
  .ant-drawer-header,
  .ant-drawer-body {
    padding: 0;
  }

  .field {
    & + .field {
      margin-top: 8px;
    }
    &.selected {
      svg path {
        stroke: var(--r-blue-default, #7084ff);
      }
    }
  }
}

.sign-permission-check-modal.sign-permission-check-modal {
  .ant-modal-body {
    padding: 32px 24px 20px 24px;
  }
  .ant-modal-content {
    background: #fff;
  }
  .ant-modal-confirm-content {
    margin-top: 0;
    padding: 0;
  }
  .ant-modal-confirm-btns {
    display: none;
  }
}

.testnet-check-modal.testnet-check-modal {
  .ant-modal-body {
    padding: 32px 24px 32px 24px;
  }
  .ant-modal-confirm-content {
    margin-top: 0;
    padding: 0;
  }
  .ant-modal-confirm-btns {
    display: none;
  }
}

.same-safe-message-modal {
  .ant-modal-content {
    border-radius: 16px;
  }

  .ant-modal-body {
    padding: 0;
  }
  .ant-modal-confirm-content {
    margin: 0;
    padding: 20px;

    .anticon {
      display: none;
    }
  }
  .ant-modal-confirm-btns {
    display: none;
  }
}
